﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Receive_Job_From_Company.ascx.cs"
    Inherits="TuyenDungViecLam.User_control_VN.Receive_Job_From_Company" %>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div class="art-Block">
            <div class="art-Block-tl">
            </div>
            <div class="art-Block-tr">
            </div>
            <div class="art-Block-bl">
            </div>
            <div class="art-Block-br">
            </div>
            <div class="art-Block-tc">
            </div>
            <div class="art-Block-bc">
            </div>
            <div class="art-Block-cl">
            </div>
            <div class="art-Block-cr">
            </div>
            <div class="art-Block-cc">
            </div>
            <div class="art-Block-body">
                <div class="art-BlockHeader">
                    <div class="art-header-tag-icon">
                        <div class="t">
                            Nhận thông tin từ nhà tuyển dụng</div>
                    </div>
                </div>
                <div class="art-BlockContent" style="padding-left: 0px; padding-right: 0px">
                    <asp:DataList ID="dldscongviec" runat="server" Width="100%" OnItemCommand="dldscongviec_ItemCommand"
                        DataKeyField="MaNhaTuyenDung" OnItemDataBound="dldscongviec_ItemDataBound">
                        <ItemTemplate>
                            <div>
                                <div style="float: left; position: absolute">
                                    Tên công ty :
                                    <asp:Label ID="lbTen" runat="server" Text='<%# Eval("Ten") %>' Font-Bold="true" ForeColor="Red"></asp:Label>
                                </div>
                                <div style="margin-left: 300px">
                                    Ngày đăng ký nhận thông tin :
                                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("NgayDangKi") %>' Font-Bold="true"></asp:Label>
                                    <asp:Label ID="lbmanhatuyendung" Visible="false" runat="server" Text='<%# Eval("MaNhaTuyenDung") %>'
                                        Font-Bold="true" ForeColor="Red"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp<asp:ImageButton
                                        ID="Delete" CommandName="Delete" ImageUrl="~/images/delete-icon.png" CommandArgument='<%# Eval("MaNhaTuyenDung") %>'
                                        runat="server" /></div>
                            </div>
                            <div style="clear: both">
                                <asp:GridView ID="gvdscongviec" runat="server" AutoGenerateColumns="False" Width="100%"
                                    CellPadding="0" ForeColor="#333333" GridLines="None" AllowPaging="True" OnPageIndexChanging="gvdscongviec_PageIndexChanging"
                                    PageSize="1">
                                    <RowStyle CssClass="RowsGridMain" BackColor="white" ForeColor="#333333" />
                                    <Columns>
                                        <asp:TemplateField HeaderText="Chức danh" SortExpression="ChucNang">
                                            <ItemTemplate>
                                                <a href='<%# "../VN/ChiTietCongViec.aspx?Mcv=" + Eval("MaCongViec") +"&Mct=" + Eval("MaCongTy") %>'>
                                                    <%# Eval("ChucDanh")%></a><br />
                                                <asp:Label ID="lbtrangthai" runat="server" Text='<%# Eval("TrangThai")%>' Visible="false"></asp:Label>
                                                <asp:Label ID="lbmantd" runat="server" Text='<%# Eval("MaCongTy")%>' Visible="false"></asp:Label>
                                                <asp:Label ID="lbmacongviec" runat="server" Visible="false" Text='<%# Eval("MaCongViec") %>'></asp:Label>
                                                <asp:Label ID="lbthongbao" runat="server" ForeColor="Red" Visible="false"></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle VerticalAlign="Top" />
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Địa điểm" SortExpression="NoiLamViec">
                                            <ItemTemplate>
                                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("NoiLamViec") %>'></asp:Label>
                                            </ItemTemplate>
                                            <ItemStyle Width="150" />
                                            <ItemStyle VerticalAlign="Top" />
                                        </asp:TemplateField>
                                        <asp:BoundField HeaderText="Ngày đăng" DataField="NgayDang" DataFormatString="{0:dd/MM/yyyy}"
                                            SortExpression="NgayDang">
                                            <ItemStyle Width="100" />
                                            <ItemStyle VerticalAlign="Top" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="Lương" DataField="MucLuong" SortExpression="MucLuong">
                                            <ItemStyle Width="100px" />
                                            <ItemStyle VerticalAlign="Top" />
                                        </asp:BoundField>
                                        <asp:TemplateField HeaderText="Nộp đơn">
                                            <ItemTemplate>
                                                <asp:ImageButton ID="NopDon" runat="server" CommandName="NopDon" ImageUrl="~/images/send-email-icon.png"
                                                    CommandArgument='<%# Eval("MaCongViec") %>' />
                                            </ItemTemplate>
                                            <ItemStyle Width="70px" />
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:TemplateField>
                                    </Columns>
                                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" CssClass="PagingGrid" />
                                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                                    <HeaderStyle CssClass="HeaderGrid" />
                                    <AlternatingRowStyle CssClass="RowsGrid" />
                                </asp:GridView>
                            </div>
                            <br />
                        </ItemTemplate>
                    </asp:DataList>
                </div>
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
<%--AllowPaging="True" OnPageIndexChanging="gvdscongviec_PageIndexChanging"
                        PageSize="2"--%>